import React from "react";
import { useAuth } from "../context/auth-context";

const Header = () => {
  const context = useAuth();
  console.log("header", context);
  return (
    <header>
      header section===
      {"AppProvider传递过来的" + context.name}
    </header>
  );
};

export default Header;
